home *** CD-ROM | disk | FTP | other *** search
- // bbutton.cpp : bitmap button test
-
- #include"viewer.h"
-
- BOOL CButtonTestDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
- // load bitmaps for all the bitmap buttons (does SubclassButton as well)
- for (int i = 0; i < N_BUTTONS; i++)
- VERIFY(buttons[i].AutoLoad(ID_BUTTON_MIN + i, this));
- return TRUE;
- }
-
- void CButtonTestDlg::OnOK()
- {
- EndDialog(IDOK);
- }
-
-